package cloudbus

type NodeInfo struct {
	NodeUuid string
	NodeIp   string
}

type ResourceDestinationMaker interface {
	MakeDestination(resourceUuid string) string
	IsManagedByUs(resourceUuid string) bool
	GetManagementNodesInHashRing() map[string]struct{}
	GetNodeInfo(nodeUuid string) *NodeInfo
	GetAllNodeInfo() []*NodeInfo
	GetManagementNodeCount() int
	IsNodeInCircle(nodeId string) bool
}
